# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

GeckoProgram('ssltunnel', linkage=None)

SOURCES += [
    'ssltunnel.cpp',
]

USE_LIBS += [
    'nspr',
    'nss',
]

# This isn't XPCOM code, but it wants to use STL, so disable the STL
# wrappers
DISABLE_STL_WRAPPING = True

if CONFIG['GNU_CXX']:
    CXXFLAGS += ['-Wno-shadow']
